package org.example.sringbootdemo.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class Fruit {
    private String name;
    private BigDecimal price;
    private String code;

    public Fruit() {
    }

    public Fruit(String name, BigDecimal price, String code) {
        this.name = name;
        this.price = price;
        this.code = code;
    }
}
